#ifndef __TIMER_H
#define __TIMER_H

#include "stm32f10x.h"                  // Device header


void Timer_Init(void);
void Time_Init(void);
void Timer3_Init(void);

#define start_count() TIM_Cmd(TIM4,ENABLE)
#define stop_count() TIM_Cmd(TIM4,DISABLE)
#define get_count() TIM4->CNT
#define clean_count() TIM4->CNT = 0

#endif

